package com.team7.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@ApiModel("接收前台传递的表单对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserVo {

    @ApiModelProperty(value = "用户名")
    private String username;


    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-ddTHH:mm:ssZ")
    private LocalDateTime startDate;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-ddTHH:mm:ssZ")
    private LocalDateTime endDate;


}
